#include "Attenuation.h"

using namespace GalliumEngine;

Attenuation::Attenuation(void)
{
	constant = 0.0f;
	linear = 0.0f;
	exponential = 0.0f;
}

Attenuation::Attenuation(float _constant, float _linear, float _exponential)
{
	constant = _constant;
	linear = _linear;
	exponential = _exponential;
}

Attenuation::~Attenuation(void)
{

}

void Attenuation::setConstant(float _constant)
{
	constant = _constant;
}

float Attenuation::getConstant()
{
	return constant;
}

void Attenuation::setLinear(float _linear)
{
	linear = _linear;
}

float Attenuation::getLinear()
{
	return linear;
}

void Attenuation::setExponential(float _exponential)
{
	exponential = _exponential;
}

float Attenuation::getExponential()
{
	return exponential;
}